Apparatus and method for providing three dimensional media content

ABSTRACT

A system that incorporates teachings of the exemplary embodiments may include, for example, means for generating a disparity map based on a depth map, means for determining accuracy of pixels in the depth map where the determining means identifies the pixels as either accurate or inaccurate based on a confidence map and the disparity map, and means for providing an adjusted depth map where the providing means adjusts inaccurate pixels of the depth map using a cost function associated with the inaccurate pixels. Other embodiments are disclosed.

FIELD OF THE DISCLOSURE

The present disclosure relates generally to media content communication and more specifically to an apparatus and method for providing three dimensional media content.

BACKGROUND

Media consumption has become a multibillion dollar industry that continues to grow rapidly. High resolution displays are being introduced into the marketplace that can now present two-dimensional movies and games with three-dimensional perspective with clarity never seen before. However, capturing and/or generating the three-dimensional content still remains a costly and time-consuming effort.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 depicts an illustrative embodiment of communication system that provides three dimensional media content;

FIG. 2 depicts an illustrative embodiment of a method that can operate in the system of FIG. 1;

FIG. 3 depicts various images or maps generated using the system and methodology of FIGS. 1 and 2: (a) left vision camera image; (b) upsampled disparity map; (c) upsampled confidence map where darker regions indicate lower confidence; and (d) classification into accurate (white) and inaccurate (black) regions.

FIG. 4 depicts various images or maps associated with the object of FIG. 3: (a) original upsampled disparity map; (b) result generated without confidence classification for the 1+2 system; (c) result for the 1+1 system with confidence classification and (d) result for the 1+2 system with confidence classification.

FIG. 5 depicts an illustrative embodiment of another communication system that provides three dimensional media content; and

FIG. 6 is a diagrammatic representation of a machine in the form of a computer system within which a set of instructions, when executed, may cause the machine to perform any one or more of the methodologies discussed herein.

DETAILED DESCRIPTION

One embodiment of the present disclosure can entail a system including means for generating a disparity map based on a depth map and means for determining accuracy of pixels in the depth map. The determining means can identify the pixels as either accurate or inaccurate based on a confidence map and the disparity map. The system can also include means for providing an adjusted depth map, where the providing means adjusts inaccurate pixels of the depth map using a cost function associated with the inaccurate pixels.

One embodiment of the present disclosure can entail a non-transitory computer-readable storage medium including computer instructions to generate three-dimensional media content based on an adjusted depth map and stereo image pairs and computer instructions to present the three-dimensional media content. The adjusted depth map can be based on adjustments to inaccurate pixels in a depth map using a suitable method, one example of which is the graph cut method, a second example of which is the belief propagation method.

One embodiment of the present disclosure can entail a method including obtaining a depth map and a confidence map associated with an object, and obtaining a stereo image pair of the object. The method can also include generating a disparity map based on the depth map, determining accuracy of pixels in the depth map based on the confidence map and the disparity map, and adjusting inaccurate pixels of the depth map to generate an adjusted depth map using a cost function associated with the inaccurate pixels.

FIG. 1 depicts an illustrative embodiment of a first communication system 100 for delivering or otherwise providing Three-Dimensional (3D) media content. System 100 can comprise a camera system 125 that captures images of an event or object 160. The event 160 can be of various types, such as a live sporting event or an event in a recording studio.

In one embodiment, the camera system 125 can include a range device 140 (e.g., a range camera) and one or more vision cameras 150. In this embodiment, the range device 140 will be referred to as a range camera, but it should be understood that other range devices could be utilized, including a sweeping range finder. The range camera 140 can provide an image showing or otherwise indicating the distance to points in a scene from a specific point. The resulting image can have pixel values which correspond to the distance, e.g., brighter values meaning shorter distance, or vice versa.

In the depicted configuration of FIG. 1, there are two vision cameras 150 which are a stereo vision pair (referred to as the 1+2 system). However, the present disclosure contemplates other numbers of cameras, such as one range camera 140 and one vision camera 150 (referred to as the 1+1 system). In this embodiment, the two vision cameras 150 can be placed at approximately the same height focusing on the object 160, with a horizontal distance between them that allows for generation of 3D images, such as 15 cm between their centers. Each vision camera 150 can have a sufficient resolution for 3D imaging, such as 1920×1080 (HD resolution), although other resolutions (e.g., 960×540) can be utilized based on a number of factors, including compatibility with the display device 180. The vision cameras 150 can be of various types that utilize various components. For example, the vision camera 150 can comprise Charge Coupled Device (CCD) image sensors, although other components in addition to, or in place of, the CCD sensors can also be utilized. In another example, the vision camera 150 can be compliant with the GigE Vision™ standard, although the present disclosure contemplates the vision camera operating otherwise, including in accordance with other standards and protocols, such as GenICam or EMVA 1288. In one embodiment, the display device 180 can be an auto-stereoscopic 3D display, although other types of display devices are also contemplated.

In one embodiment, the range camera 140 can be a camera that actively measures the time of flight of infrared light in order to provide depth map information at video frame rates. For example, the range camera 140 or other range finding device can measure parameters associated with the infrared light, such as the phase of the reflected wave or the intensity of the reflected wave. As another example, the range camera 140 can operate with a resolution of 176×144 utilizing a central wavelength of 850 nm, although range cameras or other range finding devices with different resolutions and/or different wavelengths can also be utilized in the exemplary embodiments. Other range imaging techniques are also contemplated by the present disclosure, including stereo triangulation, sheet of light triangulation, structured light, interferometry and coded aperture analysis. The range camera 140 can be placed on top of, or in close proximity to, one of the vision cameras 150 (e.g., the left vision camera) at a distance sufficient for identifying the range associated with the event 160 and the images captured by vision cameras 150, such as at a vertical distance of approximately 6 cm above the vision cameras. The field of view of the range camera 140 can be wider than the field of view of the vision cameras 150. For example, the difference in the field of view between the range camera 140 and the vision cameras 150 can effectively result in a 10×10 spatial resolution ratio between the vision camera and the range camera, although the present disclosure is not intended to be limited to this resolution ratio.

The camera system 125 can be in communication with or otherwise coupled to a computer system 165 having one or more computing devices, such as servers 170 and 175. The particular number, configuration, and location of the computing devices of system 165 can vary. The communication between the camera system 125 and the computer system 165 can be via a hardwire link, although wireless communication for some or all of the data transfer between the cameras 140, 150 and the computer system 165 is also contemplated. In one embodiment, the range camera 140 can be in communication with or connected to a host server 170 of the computer system 165, such as by a USB cable, and each vision camera 150 can be in communication with or connected to the host server 170, such as via an Ethernet cable. For example, there can be a plurality of host servers 170 that are each dedicated to one of the cameras 140 and 150 (including a dedicated host server for each vision camera 170).

Video frames can be collected onto a central server 175 of the computer system 165 for subsequent processing. In one embodiment to maintain synchronization, the cameras 140 and/or 150 can be hardware-triggered by a signal generator, such as at a frequency of 20 Hz, although other frequencies are also contemplated. The integration time of the range camera 140 can be set at a value based on time-resolution and noise level so as to achieve a balance between the two, such as at approximately 3.3 ms. The vision cameras 150 can output color video frames, while the range camera 140 can output grey-scale frames, such as with a bit-depth of 16 bits, although other bit-depths are also contemplated. The range camera 140 can generate three maps with consistent pixel correspondence: a depth map, an intensity (or magnitude) map and a confidence map. The intensity map can be similar to that produced by a vision camera, and can be used to facilitate joint calibration with the vision cameras 150 since unlike the depth map, it also bears texture information of the event 160. The confidence map reflects the confidence on the accuracy of the depth map for each pixel, and together with other information, it can be used by the computer system 165 or some other processor to generate a confidence-based classification that is utilized in generating the 3D media content which is presentable on display device 180.

FIG. 2 depicts an illustrative embodiment of a method 200 operating in portions of the devices and systems described herein and/or illustrated in FIG. 1. Method 200 can begin with step 202 in which calibration of the camera system 125 can be performed.

The calibration can be performed for cameras having different resolutions. In one embodiment, the stereo camera pair 150 can be calibrated using calibration techniques available in a software library, and then the image pair can be rectified. The mapping from the low resolution depth map of the range camera 140 into the coordinate and resolution of one rectified vision camera (e.g., the left camera) can be performed through a homographic warping approximation. In one embodiment, the warping process can cause a slight misalignment between the maps, which can be taken into account in subsequent processing steps.

In step 204, a disparity map can be generated based on the depth map captured by the range camera 140. The depth information can be extracted in the form of disparity information. After rectification, the epipolar geometry provides that each pixel on the left image corresponds to some pixel on the right image on the same horizontal line. This constraint can reduce the number of candidates in the correspondence matching in stereo vision. The difference (in image coordinates) between the corresponding pixels in the left image and the right image is the disparity, which is roughly inversely proportional to the depth of the object for that pixel. Since the range camera 140 outputs the depth directly instead of disparity values, the depth map can be converted into a disparity map for the 1+2 system. The relation between the disparity d and depth Z is given by:

$d = {p_{r} - p_{l} + \frac{f\; T_{x}}{Z}}$

where p_(l) and p_(r) are the principle point horizontal coordinates in the images, f is the focal length, and T_(x) is the horizontal translation between the two cameras. These parameters can be obtained after performing the calibration procedure for the stereo vision camera pairs 150.

After performing the steps described above, there are four synchronized maps (images) at the same resolution to utilize for the 1+2 system: a blurry disparity map, a blurry confidence map and two rectified stereo vision camera image pairs. Both the disparity map and the confidence map can be in the viewpoint of the left (or right) vision camera 150. For the 1+1 system, there would be only one vision camera image.

Method 200 now performs steps to refine the blurry disparity map into a map with clearly defined boundaries, and to correct the inaccurate disparities, such as caused by any undesired level of reflectiveness in the range camera 140. In step 206, the accuracy of the depth map pixels can be determined. The pixels in the depth map can be categorized as either accurate or inaccurate. For example, the depth map pixels can be deemed accurate or inaccurate based on the confidence map and disparity map. In one embodiment, two types of inaccuracies can be determinative of this categorization. The first type is blurriness resulting from upsampling from the low resolution range camera map where certain pixels concentrate near the edge of the object boundaries. To locate these pixels, the variance of disparities within a pre-determined window for each pixel (e.g., a 5×5 window) of the upsampled disparity map can be computed. If the variance is above a certain threshold, such as 50% of the global average variance (although other thresholds can be utilized), then the disparity value of the pixel can be classified as inaccurate.

The second type of inaccuracies can be due to poor reflectiveness. These pixels have low confidence level in the range camera confidence map. The confidence map generated by the range camera 140 can be based on the received light intensity and variance of the range camera sensor. A thresholding method can be utilized (e.g., 40% of the dynamic range of the confidence map—although other thresholds can be utilized), below which the disparity value for the pixel can be classified as inaccurate. If the disparity value of a pixel is classified as inaccurate for either one of the above two criteria, then it is classified as inaccurate as in step 208, and can be subject to further processing as described below for step 210. Otherwise, the disparity value can be deemed accurate and is not to be changed in the subsequent processing steps.

As described above, homographic warping may result in a slight misalignment between the range camera disparity map and vision camera left image. To account for this possible misalignment, the inaccurate region can be enlarged by also including pixels for which there exists a pixel deemed inaccurate and within a pre-determined distance, such as two or less pixels.

In FIG. 3, a frame captured by the vision camera 150 (left pair camera in this example) is shown in (a); the upsampled disparity map is shown in (b); the upsampled confidence map is shown in (c) where darker regions indicates lower confidence; and the corresponding classification map is shown in (d) where accurate regions are in white and inaccurate regions are in black. It can be seen that the pixels that are classified as inaccurate largely concentrate around the boundary of the object, and in the areas of low confidence. The number of pixels for which the disparities are to be further computed has been significantly reduced (to approximately 20% of the original total number of pixels), which can help reduce the use of processing resources.

In step 210, the pixels deemed inaccurate can be subject to adjustment such as by defining a cost function associated with the image data and optimizing or otherwise adjusting the data based on the cost function. In one embodiment, the adjustments can be made based on a graph-cut or belief-propagation process. For example, a heuristic cost function can be minimized using graph-cut analysis based on the original disparity values from the range camera 140, as well as the stereo vision camera pair in the 1+2 system. In another example, for the 1+1 system, strong depth continuity of the object (with similar colors) can be utilized in the analysis. A number of different cost functions can be defined for the pifxels, including cost functions that analyze occlusions. In one embodiment, the cost function to be minimized can be defined as follows:

${E(f)} = {{\sum\limits_{{({p,q})}\varepsilon \; N}{V_{p,q}\left( {f_{p},f_{q}} \right)}} + {\sum\limits_{p\; \varepsilon \; P}{D_{p}\left( f_{p} \right)}}}$

In this cost function,

is the set of interacting pair of pixels, which are typically adjacent pixels;

is the set of all pixels; and f's are the variables in the optimization problem, which in the current setting are the disparity values for the pixels classified as inaccurate. The first term in the cost function is the smoothness term, which can enforce a smoothness constraint between adjacent disparity assignment. The second term in the cost function is the data term, which enforces a disparity assignment that is consistent with the data (e.g., the original disparity map and the stereo vision camera image pair). In this embodiment, the smoothness term can be selected as the following function:

${V_{p,q}\left( {f_{p},f_{q}} \right)} = {\lambda_{s} \cdot \frac{\frac{{\exp\left( {- {\sum\limits_{{i = r},b,g}\left( {{I_{p}(i)} - {I_{q}(i)}} \right)^{2}}} \right)} + \delta}{2I^{2}}}{1 + \delta}}$

where (r, g, b) are the three color components in the vision camera image, and I_(p) and I_(q) are the magnitude values of the color components, and I² is a globally averaged squared difference between adjacent pixels. The value δ is a dilution constant which is chosen as 0.1. The weight λ_(s) is chosen to be 6.0. The present disclosure also contemplates selecting other values for the dilution constant and the weight, which can depend on various factors.

The data term incorporates two kinds of information and the corresponding heuristics in the 1+2 system. The disparity assignment can be favored if it is close to the disparity value of the range camera 140. The disparity assignment can be favored if it is consistent with the stereo matching of the vision camera stereo pair. To include the first heuristic, a truncated absolute value function can be utilized:

D _(rc)(f)=min(|f−f _(rc) |,H _(rc))

where f_(rc) is the disparity value of the range camera 140, and H_(rc) is the threshold value. In general, this function can favor values close to the disparity value of the range camera 140; however, it can also assign a reasonable cost to values that are very different from the range camera disparity value to compensate for any possible inaccuracy of the range camera. The second heuristic can be incorporated by using a dissimilarity measurement, denoted as D_(bt)(f), between the left and right image at a certain disparity. For instance, the dissimilarity measurement can be a Birchfield and Tomasi measurement as described in “A pixel dissimilarity measure that is insensitive to image sampling” by S. Birchfield and C. Tomasi, IEEE Trans. Pattern Analysis and Machine Intelligence, vol. 20, no. 4, pp. 401-406, April 1998, the disclosure of which is hereby incorporated by reference.

In one example, the final form of the function D_(p) (f_(p)) for the 1+2 system can be:

${D_{p}\left( f_{p} \right)} = \left\{ \begin{matrix} {D_{rc}\left( f_{p} \right)} & {{C_{rc}(p)} \geq C_{th}} \\ {\lambda_{bt} \cdot {D_{bt}\left( f_{p\;} \right)}} & {otherwise} \end{matrix} \right.$

where C_(rc)(p) is the range camera confidence value at pixel p, C_(th) is a fixed threshold, and the weight coefficient λ_(bt) is selected to be 3.0, although other values for the weight coefficient can be selected based on the particular situation. In one embodiment, when the confidence is higher than C_(th), then only the range camera disparity information in the data term is taken into account, and for the other case, only the stereo vision camera information is taken into account. C_(th) can be selected as 25% of the dynamic range of the range camera confidence map, although other values can be selected based on a number of factors. For the 1+1 system, D_(p)(f_(p))=D_(rc)(f_(p)). However, the present disclosure contemplates other formulas being utilized for the function D_(p)(f_(p)).

In step 210, 3D media content can be generated from the adjusted depth map. For example, the generated disparity/depth maps with the texture map from one or both of the vision cameras can be utilized as an input to an autostereoscopic 3D display, which has the ability to render multiple views automatically with this information.

In FIG. 4, results from the above steps of method 200 are shown in comparison with a map without confidence classification. FIG. 4 also shows the original directly upsampled map. It can be seen that the result without the confidence classification is more noisy, and at the same time, because of the strong continuity constraint that needs to be enforced, depth details on the object are missing, such as the hand-arm region. In contrast, the steps of method 200 using confidence classification for either the 1+1 system or the 1+2 system preserve much of the details within the same object, while at the same time offer improved boundary definition compared with the original directly upsampled map.

In another embodiment, a low resolution range camera, which is able to produce a depth image and the corresponding intensity image, and a high resolution vision camera can be positioned closely to each other, facing an object. The low resolution depth image can be mapped into the view point of the high-resolution vision camera, at the resolution of the vision camera (e.g., having eventually the depth image and vision camera image aligned at the viewpoint and resolution of the vision camera). This mapping procedure can be performed once for a fixed camera system setup, and the computed mapping/procedure can then be used for all the video sequences. A calibration board can be used for the purpose of extracting feature points in order to compute this mapping.

Notationally, we have range camera depth images D_(r)(x_(r), y_(r)), range camera intensity images I_(r)(x_(r), y_(r)), and vision camera images I_(v)(x_(v), y_(v)). A depth image can be generated: D_(v)(x_(v), y_(v)). Applying a homogeneous coordinate system to the multiview images, the pixel in the range camera is denoted by (x_(r)′, y_(r)′, z_(r)′), resulting in the following:

$x_{r} = \frac{x_{r}^{\prime}}{z_{r}^{\prime}}$ $y_{r} = \frac{y_{r}^{\prime}}{z_{r}^{\prime}}$

A pixel in the vision camera view in terms of the homogeneous coordinate is denoted as (x_(v)′ y_(v)′ z_(v)′). Homographic mappings from range image to vision image can be employed. When the radial distortion is ignored, and each camera is only taken as a pin-hole model, the mapping is a homography at each fixed depth. For each depth d, there is a single linear mapping between the range camera coordinates and the vision camera coordinates:

$\begin{bmatrix} x_{v}^{\prime} \\ y_{v}^{\prime} \\ z_{v}^{\prime} \end{bmatrix} = {\begin{bmatrix} {R_{11}(d)} & {R_{12}(d)} & {R_{13}(d)} \\ {R_{21}(d)} & {R_{22}(d)} & {R_{23}(d)} \\ {R_{31}(d)} & {R_{32}(d)} & {R_{33}(d)} \end{bmatrix}\begin{bmatrix} x_{r}^{\prime} \\ y_{r}^{\prime} \\ z_{r}^{\prime} \end{bmatrix}}$

The pixel D_(v)(x_(v), y_(v))=D_(v)(x_(v)′/z_(v)′, y_(v)′/z_(v)′) will thus take the depth value of d. Because the homography is depth-dependent, many such mappings can be determined. The range camera coordinates (x_(r), y_(r)) are on an integer lattice (grid), but the mapped coordinates (x_(v), y_(v)) are not necessarily an integer, and thus a rounding procedure can be applied. Because the range camera has a much lower resolution than the vision camera, after the direct mapping above, the resulting depth image has many pixels that are not assigned a depth value, i.e., “holes” in the upsampled depth map D_(v)(x_(v), y_(y)). To remove these holes, interpolation can be applied.

In another embodiment, instead of using many mappings, if the object in the scene is in fact limited to a narrow depth range, then a single homographic mapping can be used instead to approximate the mapping. If a single mapping is to be used, then the reverse homographic mapping can be applied:

$\begin{bmatrix} x_{r}^{\prime} \\ y_{r}^{\prime} \\ z_{r}^{\prime} \end{bmatrix} = {\begin{bmatrix} R_{11} & R_{12} & R_{13} \\ R_{21\;} & R_{22} & R_{23} \\ R_{31} & R_{32} & R_{33} \end{bmatrix}\begin{bmatrix} x_{v}^{\prime} \\ y_{v}^{\prime} \\ z_{v\;}^{\prime} \end{bmatrix}}$

and thus there is no black-holes in the resulting map, so that interpolation need not be applied. The mappings may be good for some region of the images, but less satisfactory for the other regions.

Continuing with this example, the 3D space is being essentially partitioned into many pieces, and each piece is associated with a different mapping. The mapping can be either piece-wise affine or homographic. For the piece-wise affine mapping, an affine mapping between the range camera coordinates and the vision camera coordinates is utilized as follows:

$\begin{bmatrix} x_{r} \\ y_{r} \end{bmatrix} = {{\begin{bmatrix} R_{11} & R_{12} \\ R_{21} & R_{22} \end{bmatrix}\begin{bmatrix} x_{v} \\ y_{v} \end{bmatrix}} + \begin{bmatrix} T_{1} \\ T_{2} \end{bmatrix}}$

This mapping finds for each vision camera pixel a corresponding pixel in the range camera view, and interpolation is not required for the resulting map. The pixel D_(v)(x_(v), y_(v)) can take the depth value of D_(r)(x_(r), y_(r)), after rounding (x_(r), y_(r)) to integers. A single such mapping can be determined through a set of n corresponding feature points in the two views:

(x _(v)(1),y _(v)(1)),(x _(v)(2),y _(v)(2)), . . . ,(x _(v)(n)),y _(v)(n))1

and

(x _(r)(1),y _(r)(1)),(x _(r)(2),y_(r)(2)), . . . ,(x _(r)(n),y _(r)(n)).

which can be rewritten as follows:

${\begin{bmatrix} {x_{v}(1)} & {y_{v}(1)} & 0 & 0 & 1 & 0 \\ 0 & 0 & {x_{v}(1)} & {y_{v}(1)} & 0 & 1 \\ {x_{v}(2)} & {y_{v}(2)} & 0 & 0 & 1 & 0 \\ 0 & 0 & {x_{v}(2)} & {y_{\; v}(2)} & 0 & 1 \\ \vdots & \vdots & \vdots & \vdots & \vdots & \vdots \\ {x_{v}(n)} & {y_{v}(n)} & 0 & 0 & 1 & 0 \\ 0 & 0 & {x_{v}(n)} & {y_{v}(n)} & 0 & 1 \end{bmatrix}\begin{bmatrix} R_{11} \\ R_{12} \\ R_{21} \\ R_{22} \\ T_{1} \\ T_{2} \end{bmatrix}} = \begin{bmatrix} {x_{r}(1)} \\ {y_{r}(1)} \\ {x_{r}(2)} \\ {y_{r}(2)} \\ \vdots \\ {x_{r}(n)} \\ {y_{r}(n)} \end{bmatrix}$

If n≧3, the above linear equation is usually over-determined (except that all points are on a single line), and thus the following variables can be solved for:

M=[R ₁₁ ,R ₁₂ ,R ₂₁ ,R ₂₂ ,T ₁ ,T ₂]^(t)

in the least squared manner, which gives the desired mapping.

To find the overall mapping, a first step is to find the multiple mapping vectors and this is done before run-time, and then a second step is the mapping selection done during run-time. To find the multiple mapping vectors, the feature points can be extracted from the intensity map of the range camera output, and the vision camera output. Since the intensity map and the depth map of the range camera can be aligned, the depth of a given feature point is also available. Feature points can be collected (usually corner points on a chess-board-pattern calibration board) near several candidate depths (e.g., d₁, d₂, . . . d_(l)). A rectangular vision camera frame can be partitioned horizontally into N_(h) stripes, and then vertically into N_(v) stripes. At each candidate depth, multiple feature points can be collected, and they can belong to a certain partition. The mapping vector M (m; k; i) can be determined for each partition and each candidate depth, i.e., for m=1, 2, . . . , N_(h), k=1, 2, . . . , N_(v) and i=1, 2, . . . , l. The partition of the vision camera frame can be kept the same for all the chosen depths. By increasing the number of partitions in the vision camera frame and the number of candidate depths, the accuracy of the mapping can be increased at the expense of an increased number of mappings, and heavier computation in the mapping selection step below.

Mapping for each pixel in the vision frame can then be performed. For a given pixel (x_(v), y_(v)), the partition (m₀, k₀) to which it belongs is known, however since the depth of this pixel is not known, which mapping vector M (m; k; i) to use among i=1, 2, . . . , l is unknown. All l mappings of this partition (m₀, k₀), i.e., M (m; k; i), i=1, 2, . . . , l can be applied, and this gives us l pixel locations in the depth map, and thus a total of l possible depths, denoted as d₁′, d₂′, . . . d_(l)′. These/mappings do not need to be computed for each video frame, but instead, can be computed once because they are fixed for all the frames, though the resulting possible depths d₁′, d₂′, . . . d_(l)′ can be taken from the range camera output. One depth can be chosen and |d_(i)′−d_(i)′| can be computed. The i₀th mapping can be selected where:

$i_{o} = {\arg \; {\min\limits_{i}{{d_{i}^{\prime} - d_{i}}}}}$

This can be done for all the pixels within the high-resolution vision frame, resulting in a high-resolution depth map. The minimization above is based on knowing the depth of the pixel at (x_(v), y_(v)), and then selecting the particular mapping for that depth. The mapping above is piece-wise affine within a three-dimensional area. The “done-once” part of this procedure can be finding the mapping coefficients for each three-dimensional cell and all the l separate mappings between coordinates, and the run-time computation can be limited to only the minimization step, which is linear in l. Since the value of l is typically small, this procedure is efficient. In the above example, the focus was on the affine mapping formula. However, it is also possible to use homographic mapping. The principle is the same, however since the homography has nine parameters, a selection of at least five feature points in each partition for each candidate depth can be made. The least squared solution is also slightly different, because now the equation is homogeneous, but this can also be performed.

FIG. 5 depicts an illustrative embodiment of a second communication system 500 for delivering media content including 3D media content. The communication system 500 can represent an Internet Protocol Television (IPTV) broadcast media system, although other media broadcast systems are contemplated by the present disclosure. The IPTV media system 500 can include a super head-end office (SHO) 510 with at least one super headend office server (SHS) 511, which can receive media content from satellite and/or terrestrial communication systems. In the present context, media content can represent audio content, moving image content such as videos, still image content, or combinations thereof. The SHS server 511 can forward packets associated with the media content to video head-end servers (VHS) 514 via a network of video head-end offices (VHO) 512 according to a common multicast communication protocol.

The VHS 514 can distribute multimedia broadcast programs via an access network 518 to commercial and/or residential buildings 502 (only one of which is shown) that house a gateway 504 (such as a residential or commercial gateway). The access network 518 can represent a group of digital subscriber line access multiplexers (DSLAMs) located in a central office or a service area interface that provides broadband services over optical links or copper twisted pairs 519 to buildings 502. The gateway 504 can use common communication technology to distribute broadcast signals to media devices 508 such as computers, television sets, managed in some instances by a media controller 507 (such as an infrared or RF remote control, gaming controller, etc.). In one embodiment, the gateway 504 can deliver the media content to media processors 506 such as Set-Top Boxes (STBs) or gaming consoles, which in turn present broadcast channels to the media devices 508.

In another embodiment, the gateway 504 can deliver the media content to the display devices 508 without using an intermediary media processor 506 (such as an STB). For instance, the gateway 504 can selectively bypass the set top box 506 and deliver the media content directly to the display device 508. The gateway 504 can determine a type or format of media content that is being received and can determine if the media content is compatible with a set top box 506 connected with a particular display device 508. If there is an incompatibility determined, then the gateway 504 can bypass the set top box 506 and deliver the media content directly to the display device 508. In another example, the gateway 504 can determine the compatibility issue and can reformat the media content for delivery based on the compatibility determination. In one embodiment, the buildings 502 may not be equipped with any STB's 506 and thus the gateway 504 delivers media content to each of the display devices 108 directly.

In another embodiment, the gateway 504 can utilize a common format or protocol for delivery of data to a plurality of communication devices (e.g., television, desktop computer, video gaming console, mobile cellular phone, camera, media player, and so forth) throughout the residence or other building 502. For example, Digital Living Network Alliance (DLNA) technology can be utilized by the gateway 504, as well as other communication devices in the residence or building 502, to enable PC Internet, mobile and consumer electronics devices to find each other, communicate, share and display multimedia content while adhering to digital rights management associated with the media content. In this embodiment, the gateway 504 can communicate directly with one or more of the display devices 508 without using an STB.

The gateway 504, the media processors 506, and/or the media devices 508 can utilize tethered interface technologies (such as coaxial, phone line, or power line wiring) and/or can operate over a common wireless access protocol, such as Wireless Fidelity (WiFi). With these interfaces, unicast communications can be invoked by the gateway 504 and/or the media processors 506 from the subsystems of the IPTV media system for services, such as video-on-demand (VoD), browsing an electronic programming guide (EPG), or other infrastructure services.

Some of the network elements of the IPTV media system 500 can be coupled to one or more computing devices 530. The computing devices 530, or a portion thereof, can operate as a web server for providing portal services over an Internet Service Provider (ISP) network 532 to wireline media devices 508 or wireless communication devices 516 (e.g., cellular phone, laptop computer, etc.) by way of a wireless access base station 517. The base station 517 can operate according to common wireless access protocols such as WiFi, or cellular communication technologies (such as GSM, CDMA, UMTS, WiMAX, Software Defined Radio or SDR, and so on).

In one embodiment, a satellite broadcast television system can be used in place of, or in addition to, the IPTV media system 500. In this embodiment, signals transmitted by a satellite 515 carrying media content can be intercepted by a common satellite dish receiver 531 coupled to the building 502. Modulated signals intercepted by the satellite dish receiver 531 can be transferred to the media processors 506 for decoding and distributing broadcast channels to the media devices 508. The media processors 506 can be equipped with a broadband port to the IP network 532 to enable services such as VoD and EPG described above.

In yet another embodiment, an analog or digital broadcast distribution system, such as cable TV system 533, can be used in place of, or in addition to, the IPTV media system described above. In this embodiment, the cable TV system 533 can provide Internet, telephony, and interactive media services.

It is contemplated that the present disclosure can apply to any present or next generation over-the-air and/or landline media content services system. In one embodiment, an IP Multimedia Subsystem (IMS) network architecture can be utilized to facilitate the combined services of circuit-switched and packet-switched systems in delivering the media content to one or more viewers.

In one embodiment, the computing devices 530 can include a controller 580 for processing the data captured by the range camera 140 and/or the vision camera(s) 150 of camera system 125. The controller 580 can receive a depth map captured by the range camera 140 and can generate a disparity map from the data in the depth map. The controller 580 can determine the accuracy of the depth map pixels using the disparity map and a confidence map, which was generated by the range camera 140. The controller 580 can adjust inaccurate pixels of the depth map based on a cost function that has been defined for the depth map, such as through use of a graph-cut or belief-propagation process. The adjusted depth map can then be utilized for generating 3D media content, such as in combination with the intensity map of the range camera 140 and/or the left and right image pairs captured by the vision cameras 150. In one embodiment, the computing devices 530 provide the various data, including the adjusted depth map, to a processor (such as display device 508, STB 506, and/or gateway 504) at the building 502 for generating the 3D images. In another embodiment, the computing devices generate the 3D media content and transmit the 3D media content to the building 502 for presentation on the display device 508.

Upon reviewing the aforementioned embodiments, it would be evident to an artisan with ordinary skill in the art that said embodiments can be modified, reduced, or enhanced without departing from the scope and spirit of the claims described below. The embodiments described above can be adapted to operate with any device capable of performing in whole or in part the steps described for method 200. For example, an STB, a gateway, a PC, or another device can be adapted to generate the disparity map and adjust the inaccurate pixels of the depth map (of the range camera 140) as described above. This data can then be utilized in generating 3D media content in combination with the images captured by the vision camera(s) 150.

In one embodiment, an accurate high resolution depth map can be provided which is from the viewpoint of one of a pair of high resolution vision cameras. The low resolution depth map, captured by a range camera or other range determining device, can first be warped and converted into a depth/disparity map in the coordinate frame of, and at the same resolution as, the one vision camera. The pixels can then be classified into regions according to whether the range camera depth map is trustworthy. A graph cut optimization can then be performed on all or a portion of the untrustworthy regions. Experimental results utilizing this process show that the process is able to upsample the depth map by a factor of 10×10 with accurate depth details. The improvements can be visually perceptible on a 3D auto-stereoscopic display.

In another embodiment, one or more of the steps described herein can be performed in real-time. For instance, a range camera utilizing a real-time frame rate can be used and one or more of the other steps can also be performed in real-time to allow for dynamic video processing. In another embodiment, the application of the optimization analysis (e.g., graph-cut or belief-propagation) can be based on a cost function associated with the inaccurate pixels. The resulting adjustments can be applied to only those inaccurate pixels. Although, the present disclosure contemplates applying the adjustments to other configurations of the pixels, such as to the inaccurate pixels and to a portion of the accurate pixels.

Other suitable modifications can be applied to the present disclosure without departing from the scope of the claims below. Accordingly, the reader is directed to the claims section for a fuller understanding of the breadth and scope of the present disclosure.

FIG. 6 depicts an exemplary diagrammatic representation of a machine in the form of a computer system 600 within which a set of instructions, when executed, may cause the machine to perform any one or more of the methodologies discussed above. In some embodiments, the machine operates as a standalone device. In some embodiments, the machine may be connected (e.g., using a network) to other machines. In a networked deployment, the machine may operate in the capacity of a server or a client user machine in server-client user network environment, or as a peer machine in a peer-to-peer (or distributed) network environment.

The machine may comprise a server computer, a client user computer, a personal computer (PC), a tablet PC, a laptop computer, a desktop computer, a control system, a network router, switch or bridge, or any machine capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that machine. It will be understood that a device of the present disclosure includes broadly any electronic device that provides voice, video or data communication. Further, while a single machine is illustrated, the term “machine” shall also be taken to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein.

The computer system 600 may include a processor 602 (e.g., a central processing unit (CPU), a graphics processing unit (GPU, or both), a main memory 604 and a static memory 606, which communicate with each other via a bus 608. The computer system 600 may further include a video display unit 610 (e.g., a liquid crystal display (LCD), a flat panel, a solid state display, or a cathode ray tube (CRT)). The computer system 600 may include an input device 612 (e.g., a keyboard), a cursor control device 614 (e.g., a mouse), a disk drive unit 616, a signal generation device 618 (e.g., a speaker or remote control) and a network interface device 620.

The disk drive unit 616 may include a machine-readable medium 622 on which is stored one or more sets of instructions (e.g., software 624) embodying any one or more of the methodologies or functions described herein, including those methods illustrated above. The instructions 624 may also reside, completely or at least partially, within the main memory 604, the static memory 606, and/or within the processor 602 during execution thereof by the computer system 600. The main memory 604 and the processor 602 also may constitute machine-readable media.

Dedicated hardware implementations including, but not limited to, application specific integrated circuits, programmable logic arrays and other hardware devices can likewise be constructed to implement the methods described herein. Applications that may include the apparatus and systems of various embodiments broadly include a variety of electronic and computer systems. Some embodiments implement functions in two or more specific interconnected hardware modules or devices with related control and data signals communicated between and through the modules, or as portions of an application-specific integrated circuit. Thus, the example system is applicable to software, firmware, and hardware implementations.

In accordance with various embodiments of the present disclosure, the methods described herein are intended for operation as software programs running on a computer processor. Furthermore, software implementations can include, but not limited to, distributed processing or component/object distributed processing, parallel processing, or virtual machine processing can also be constructed to implement the methods described herein.

The present disclosure contemplates a machine readable medium containing instructions 624, or that which receives and executes instructions 624 from a propagated signal so that a device connected to a network environment 626 can send or receive voice, video or data, and to communicate over the network 626 using the instructions 624. The instructions 624 may further be transmitted or received over a network 626 via the network interface device 620.

While the machine-readable medium 622 is shown in an example embodiment to be a single medium, the term “machine-readable medium” should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more sets of instructions. The term “machine-readable medium” shall also be taken to include any medium that is capable of storing, encoding or carrying a set of instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the present disclosure.

The term “machine-readable medium” shall accordingly be taken to include, but not be limited to: solid-state memories such as a memory card or other package that houses one or more read-only (non-volatile) memories, random access memories, or other re-writable (volatile) memories; magneto-optical or optical medium such as a disk or tape; and/or a digital file attachment to e-mail or other self-contained information archive or set of archives is considered a distribution medium equivalent to a tangible storage medium. Accordingly, the disclosure is considered to include any one or more of a machine-readable medium or a distribution medium, as listed herein and including art-recognized equivalents and successor media, in which the software implementations herein are stored.

Although the present specification describes components and functions implemented in the embodiments with reference to particular standards and protocols, the disclosure is not limited to such standards and protocols. Each of the standards for Internet and other packet switched network transmission (e.g., TCP/IP, UDP/IP, HTML, HTTP) represent examples of the state of the art. Such standards are periodically superseded by faster or more efficient equivalents having essentially the same functions. Accordingly, replacement standards and protocols having the same functions are considered equivalents.

The illustrations of embodiments described herein are intended to provide a general understanding of the structure of various embodiments, and they are not intended to serve as a complete description of all the elements and features of apparatus and systems that might make use of the structures described herein. Many other embodiments will be apparent to those of skill in the art upon reviewing the above description. Other embodiments may be utilized and derived therefrom, such that structural and logical substitutions and changes may be made without departing from the scope of this disclosure. Figures are also merely representational and may not be drawn to scale. Certain proportions thereof may be exaggerated, while others may be minimized. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense.

Such embodiments of the inventive subject matter may be referred to herein, individually and/or collectively, by the term “invention” merely for convenience and without intending to voluntarily limit the scope of this application to any single invention or inventive concept if more than one is in fact disclosed. Thus, although specific embodiments have been illustrated and described herein, it should be appreciated that any arrangement calculated to achieve the same purpose may be substituted for the specific embodiments shown. This disclosure is intended to cover any and all adaptations or variations of various embodiments. Combinations of the above embodiments, and other embodiments not specifically described herein, will be apparent to those of skill in the art upon reviewing the above description.

The Abstract of the Disclosure is provided with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. In addition, in the foregoing Detailed Description, it can be seen that various features are grouped together in a single embodiment for the purpose of streamlining the disclosure. This method of disclosure is not to be interpreted as reflecting an intention that the claimed embodiments require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed embodiment. Thus the following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separately claimed subject matter. 

What is claimed is:
 1. A system comprising: means for generating a disparity map based on a depth map; means for determining accuracy of pixels in the depth map, wherein the determining means identifies the pixels as either accurate or inaccurate based on a confidence map and the disparity map; and means for providing an adjusted depth map, wherein the providing means adjusts inaccurate pixels of the depth map using a cost function associated with the inaccurate pixels.
 2. The system of claim 1, wherein the providing means applies one of a graph-cut analysis or a belief-propagation analysis to the cost function to provide the adjusted depth map, and wherein the accurate pixels are not adjusted.
 3. The system of claim 1, further comprising means for rendering three-dimensional media content, wherein the rendering means uses the adjusted depth map and images from at least one vision camera to render the three-dimensional media content
 4. The system of claim 1, wherein the determining means measures a disparity variance for a pre-determined region surrounding each pixel of the disparity map to identify the pixels as either accurate or inaccurate.
 5. The system of claim 1, further comprising means for obtaining range data, wherein the obtaining means generates the depth map based on the range data.
 6. The system of claim 5, wherein the obtaining means generates the confidence map.
 7. The system of claim 5, wherein the obtaining means measures parameters associated with infrared light to obtain the range data.
 8. The system of claim 5, further comprising: means for capturing stereo image pairs; and means for calibrating the capturing means with the obtaining means.
 9. The system of claim 8, wherein the calibrating means utilizes homographic warping approximation.
 10. A non-transitory computer-readable storage medium comprising computer instructions to: generate three-dimensional media content based on images captured by at least one vision camera and an adjusted depth map, wherein the adjusted depth map is based on adjustments to inaccurate pixels in a depth map using at least one of a graph-cut analysis or a belief-propagation analysis; and present the three-dimensional media content.
 11. The non-transitory computer-readable storage medium of claim 10, wherein the inaccurate pixels are identified based on measuring a disparity variance for a pre-determined region surrounding each pixel of a disparity map generated from the depth map, and wherein the depth map is captured by a range camera.
 12. A method comprising: obtaining a depth map and a confidence map associated with an object; obtaining a stereo image pair of the object; generating a disparity map based on the depth map; determining accuracy of pixels in the depth map based on the confidence map and the disparity map; and adjusting inaccurate pixels of the depth map to generate an adjusted depth map using a cost function associated with the inaccurate pixels.
 13. The method of claim 12, further comprising transmitting the adjusted depth map and at least one of the stereo image pair to a media processor for generating three-dimensional media content.
 14. The method of claim 12, wherein the determining of the accuracy of the pixels is based on measuring a disparity variance for a pre-determined region surrounding each pixel of the disparity map to identify the pixels as either accurate or inaccurate.
 15. The method of claim 12, wherein the adjusting of the inaccurate pixels is based on a belief-propagation analysis.
 16. The method of claim 12, wherein the adjusting of the inaccurate pixels is based on a graph-cut analysis.
 17. The method of claim 12, wherein the obtaining of the depth map is based on measuring parameters associated with infrared light to obtain range data associated with the object.
 18. The method of claim 12, further comprising: generating three-dimensional media content based on the adjusted depth map, the confidence map and at least one of the stereo image pairs; and presenting the three-dimensional media content on a display.
 19. The method of claim 12, further comprising: obtaining the stereo image pair using a pair of vision cameras; calibrating the pair of vision cameras; rectifying the stereo image pair; and mapping the depth map with the rectified stereo image pair.
 20. The method of claim 19, wherein the mapping of the depth map with the rectified stereo image pairs utilizes homographic warping approximation. 